package com.daoyi.redis.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.List;

@ConfigurationProperties(prefix = "redis")
public class RedisConfig {

    private List<String> nodeAddress;

    private String password;


    public List<String> getNodeAddress() {
        return nodeAddress;
    }

    public void setNodeAddress(List<String> nodeAddress) {
        this.nodeAddress = nodeAddress;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
